package weixin

// 定义以下请求返回的数据格式
// https://wx2.qq.com/cgi-bin/mmwebwx-bin/webwxinit

type wxWebInitUserInfo struct {
	UserName string `json:"UserName"`
}

type wxWebInitSyncKeyList struct {
	Key int   `json:"Key"`
	Val int64 `json:"Val"`
}

type wxWebInitSyncKey struct {
	Count int                    `json:"Count"`
	List  []wxWebInitSyncKeyList `json:"List"`
}

type wxWebInit struct {
	BaseResp baseResponse      `json:"BaseResponse"`
	SyncKey  wxWebInitSyncKey  `json:"SyncKey"`
	UserInfo wxWebInitUserInfo `json:"User"`
}
